/* pages/songDetail.wxss */

.songDetailContainer {
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
  align-items: center;

  .circle {
    position: relative;
    z-index: 100;
    width: 60rpx;
    height: 60rpx;
    border-radius: 50%;
    background: #fff;
    margin: 10rpx 0;
  }

  .needle  {
    position: relative;
    z-index: 99;
    top: -40rpx;
    left: 60rpx;
    width: 192rpx;
    height: 274rpx;
    transform-origin: 40rpx 0;
    transform: rotate(-20deg);
    transition: transform 1s;
    &.needleRotate {
      transform: rotate(0deg);
    }
  }
  .discContainer {
    position: relative;
    top: -170rpx;
    width: 598rpx;
    height: 598rpx;
    &.discAnimation {
      animation: disc 20s linear infinite;
      animation-delay: 1s;

      @keyframes disc {
        form {
          transform: rotate(0deg);
        }
        to {
          transform: rotate(360deg);
        }
      }
      
    }
    .disc {
      width: 598rpx;
      height: 598rpx;
    }

    .musicImg {
      position: absolute;
      top: 0;
      right: 0;
      bottom: 0;
      left: 0;
      margin: auto;
      width: 370rpx;
      height: 370rpx;
      border-radius: 50%;
    }
  }
  

  .progressControl {
    position: absolute;
    bottom: 200rpx;
    width: 640rpx;
    height: 80rpx;
    line-height: 80rpx;
    display: flex;
    .barControl {
      position: relative;
      width: 450rpx;
      height: 4rpx;
      background: rgba(0, 0, 0, 0.4);
      margin: auto;
      .audio-currentTime-Bar {
        position: absolute;
        top: 0;
        left: 0;
        z-index: 1;
        height: 4rpx;
        background: red;
        .audio-circle {
          position: absolute;
          right: -12rpx;
          top: -4rpx;
          width: 12rpx;
          height: 12rpx;
          border-radius: 50%;
          background: #fff;
        }
      }
    }
  }

  .musicControl {
    position: absolute;
    bottom: 40rpx;
    left: 0;
    border-top: 1rpx solid #fff;
    width: 100%;
    display: flex;
    text {
      width: 20%;
      height: 120rpx;
      line-height: 120rpx;
      text-align: center;
      color: #fff;
      font-size: 50rpx;
    }

    .iconfont.big {
      font-size: 80rpx;
    }
    
  }
}